﻿using Framework.Zhaogang.Cache.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Framework.Zhaogang.Cache.Redis
{
    /// <summary>
    /// 
    /// </summary>
    public class RedisCacheManager : ICacheManager
    {

        /// <summary>
        /// 
        /// </summary>
        public string RegionName
        {
            get { throw new NotImplementedException(); }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="key"></param>
        /// <param name="value"></param>
        /// <param name="isAbsoluteExpire"></param>
        /// <param name="expireMinutes"></param>
        /// <returns></returns>
        public bool Set(string key, object value, bool isAbsoluteExpire = true, int expireMinutes = 0)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        public object Remove(string key)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="key"></param>
        /// <returns></returns>
        public T Get<T>(string key)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        public bool HasKey(string key)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="expression"></param>
        /// <param name="keyParam"></param>
        /// <returns></returns>
        public IEnumerable<T> Where<T>(Func<T, bool> expression, string keyParam = "")
        {
            throw new NotImplementedException();
        }
    }
}
